package com.mine.async.jobexe;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 分页响应类
 *
 * @author: Gzhao 2020/11/12
 */
@Data
@Accessors(chain = true)
public class PageRespBase<T> {

    private long totalPage;

    private long totalCount;

    private long currPage;

    private long pageSize;

    private List<T> list;


    public PageRespBase(long totalCount, long currPage, long pageSize) {
        this.totalCount = totalCount;
        this.currPage = currPage;
        this.pageSize = pageSize;
    }
}
